from django.urls import re_path

from .views import *

urlpatterns = [

    # 与植被生态区相关的接口
    re_path(r"vegetationecologicalzone/add$", vegetationEcologicalZoneAdd),
    re_path(r"vegetationecologicalzone/list$", vegetationEcologicalZoneList),
    re_path(r"vegetationecologicalzone/delete$", vegetationEcologicalZoneDelete),
    re_path(r"vegetationecologicalzone/update$", vegetationEcologicalZoneUpdate),

    # 与生态工程区相关的接口
    re_path(r"ecologicalengineeringzone/add$", ecologicalEngineeringZoneAdd),
    re_path(r"ecologicalengineeringzone/list$", ecologicalEngineeringZoneList),
    re_path(r"ecologicalengineeringzone/delete$", ecologicalEngineeringZoneDelete),
    re_path(r"ecologicalengineeringzone/update$", ecologicalEngineeringZoneUpdate),

    # 与森林类别相关的接口
    re_path(r"forestclass/add$", forestClassAdd),
    re_path(r"forestclass/list$", forestClassList),
    re_path(r"forestclass/delete$", forestClassDelete),
    re_path(r"forestclass/update$", forestClassUpdate),

    # 与生态分区相关的接口
    re_path(r"ecologicalzone/add$", ecologicalZoneAdd),
    re_path(r"ecologicalzone/list$", ecologicalZoneList),
    re_path(r"ecologicalzone/delete$", ecologicalZoneDelete),
    re_path(r"ecologicalzone/update$", ecologicalZoneUpdate),

    # 与树种相关的接口
    re_path(r"treespecies/add$", treeSpeciesAdd),
    re_path(r"treespecies/list$", treeSpeciesList),
    re_path(r"treespecies/delete$", treeSpeciesDelete),
    re_path(r"treespecies/update$", treeSpeciesUpdate),

    # 与起源相关的接口
    re_path(r"origin/add$", originAdd),
    re_path(r"origin/list$", originList),
    re_path(r"origin/delete$", originDelete),
    re_path(r"origin/update$", originUpdate),

    # 与年龄组相关的接口
    re_path(r"agegroup/add$", ageGroupAdd),
    re_path(r"agegroup/list$", ageGroupList),
    re_path(r"agegroup/delete$", ageGroupDelete),
    re_path(r"agegroup/update$", ageGroupUpdate),
]
